<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>战友串串香会员中心</title>
	<link rel="shortcut icon" type="image/x-icon">
	<link rel="icon" href="img/logo.png" type="image/png">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-store,must-revalidate">

    <link rel="stylesheet" href="dist/css/vendor.min.css">
    @@cssTag
</head>
<body class="hold-transition skin-blue sidebar-mini" ng-app="app">
<div class="wrapper">

    <!-- Main Header -->
    <header class="main-header" ng-controller="headerCtrl">

        <a href="javascript: void 0;" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><img src="img/logo.png" width="30px" height="30px"></span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg" style="font-size: 15px;"><img src="img/logo.png" width="30px" height="30px"
                                       style="margin-top: -2px; margin-right: 20px">战友串串香会员中心</span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="javascript: void 0;" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span tooltip="收缩侧边栏"></span>
            </a>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">


                    <!-- User Account Menu -->
                    <li class="dropdown user user-menu">
                        <a href="javascript: void 0;" class="dropdown-toggle" data-toggle="dropdown">
                            <span class="hidden-xs">{{user.userName || user.userId}}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- The user image in the menu -->
                            <li class="user-header">
                                <img ng-src={{'img/default-avatar.png'}} class="img-circle">
                                <p>{{user.userName || user.userId}}</p>
                            </li>
                            <!-- Menu Body -->
                            <li class="user-body">
                                <div class="row">
                                    <div class="col-xs-4 text-center">
                                       <a href="javascript: void 0;" ng-click="changePassword()">修改密码</a>
                                    </div>
                                    <div class="col-xs-4 text-center">
                                    </div>
                                    <div class="col-xs-4 text-center">
                                        <a href="javascript: void 0;" ng-click="logout()">退出</a>
                                    </div>
                                </div>
                                <!-- /.row -->
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">

            <!-- Sidebar Menu -->
            <ul class="sidebar-menu" sidebar-menu auth>
                <li class="treeview">
                    <a href="#/home">
                        <i class="fa fa-dashboard nav-icon"></i>
                        <span> 首页</span>
                    </a>

                </li>

                <li class="treeview">
                    <a href="#/order/list">
                        <i class="fa fa-money nav-icon"></i>
                        <span>订单管理</span>
                    </a>

                </li>

                <li class="treeview">
                    <a href="#/event/list">
                        <i class="fa fa-gift nav-icon"></i>
                        <span>活动信息</span>
                    </a>

                </li>

                <li class="treeview">
                    <a href="#/baseinfo/userInfo">
                        <i class="fa fa-users nav-icon"></i>
                        <span> 用户管理</span>
                    </a>

                </li>

                <li class="treeview">
                    <a href="#/setting">
                        <i class="fa fa-gears nav-icon"></i>
                        <span>系统设置</span>
                    </a>
                </li>

                <!--<li class="treeview" >
                    <a href="javascript: void 0;">
                        <i class="fa fa-gift nav-icon"></i>
                        <span>活动信息</span>
                        <i class="fa fa-angle-left pull-right"></i>
                    </a>
                    <ul class="treeview-menu">
                        <li>
                            <a href="#/event/list">活动信息</a>
                        </li>
                    </ul>
                </li>-->
            </ul>
        </section>
    </aside>

    <div class="content-wrapper" style="height: 100%">
        <section class="content" ng-view>

        </section>
    </div>

</div>

<toaster-container toaster-options="{'position-class': 'toast-top-center', 'close-button': true}">
</toaster-container>

<div class="loading-box" ng-if="loading">
    <i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
    <span class="sr-only">Loading...</span>
</div>

<script src="dist/js/vendor.min.js" type="text/javascript"></script>

@@scriptsTags

</body>

<script type="text/javascript">
    $(function () {
        FastClick.attach(document.body);
    });
</script>

</html>
